<!DOCTYPE html>
<html>
<head lang="zh">
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="full-screen" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
    <meta http-equiv="content-type" content="text/html">
    <meta http-equiv="pragma"   content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache,must-revalidate" />
    <meta http-equiv="expires" content="Wed,26 Feb 1997 08:21:57 GMT" />
    <title>叶子环保</title>
    <style type="text/css">
        /* reset */
        body,h1,h2,h3,h4,h5,h6,p,dl,dd,ul,ol,pre,form,input,textarea,th,td,select,strong{
            margin: 0;
            padding: 0;
        }

        em{
            font-style: normal;
        }

        li{
            list-style: none;
        }

        a{
            text-decoration: none !important;
        }

        img{
            border:none;
            vertical-align: top;
        }

        table{
            border-collapse: collapse;
        }

        textarea{
            resize: none;
            overflow: auto;
        }

        /* end reset */
        .container img{
            max-width: 100%;
            display: block;
        }

    </style>
    <script>!function(n,e){var t=n.documentElement,i="orientationchange" in window?"orientationchange":"resize",d=function(){var n=t.clientWidth;if(n){var e=100*(n/375);t.style.fontSize=e+"px"}};n.addEventListener&&(e.addEventListener(i,d,!1),n.addEventListener("DOMContentLoaded",d,!1))}(document,window); </script>
</head>
<body>
<div class="container">
</div>
<script>
    var liefeng = {};
</script>
<script src="//cdn.bootcss.com/zepto/1.1.6/zepto.min.js"></script>
<script type="text/javascript" src="../common.min.js"></script>
<!--TODO 需要迪迪要改，目前不支持https-->
<!--<script src="//h5.liefengtech.com/zhwy-hybrid/public/js/lib/common.min.js"></script> -->


<script type="text/javascript">
    window.onload = function(){
        $('img').css({'display':'none'});
        var img = liefeng.utils.getUrlParam('img');
        if(img=='1'){
            $('.container').html('<img class="to-detail-1" src="img/details1.jpg" data-url="http://zhidian.h5.liefengtech.com/zhwy-hybrid/html/shopping-item-detail.html?goodsId=145" data-title=""/>')
        }else if(img=='2'){
            $('.container').html('<img class="to-detail-2" src="img/details2.jpg" data-url="http://zhidian.h5.liefengtech.com/zhwy-hybrid/html/shopping-item-detail.html?goodsId=145" data-title=""/>')

        }else if(img=='3'){
            $('.container').html('<img class="to-detail-3" src="img/details3.jpg" data-url="http://zhidian.h5.liefengtech.com/zhwy-hybrid/html/shopping-item-detail.html?goodsId=145" data-title=""/>')

        }else if(img=='4'){
            $('.container').html('<img class="to-detail-4" src="img/details4.jpg" data-url="http://zhidian.h5.liefengtech.com/zhwy-hybrid/html/shopping-item-detail.html?goodsId=145" data-title=""/>')

        }else if(img=='5'){
            $('.container').html('<img class="to-detail-5" src="img/details5.jpg" data-url="http://zhidian.h5.liefengtech.com/zhwy-hybrid/html/shopping-item-detail.html?goodsId=145" data-title=""/>')

        }
        var doAction = liefeng.bridgeJs.doAction;
        $('.to-detail').on('click',function(){
            var url = $(this).attr('data-url') || '',
                title = $(this).attr('data-title')
            doAction(url,title)
        })
    }
</script>

</body>
</html>
